/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package me.report.api.web.data.command;

/**
 *
 * @author chuyennm
 */
public class ApiCommand {

    public final static int UPDATE_LOCATION_SUCCESS = 1;
    public final static int UPDATE_LOCATION_FAIL = 2;
    public final static int FB_LIST_SUGGEST_FAIL = 3;
    public final static int FB_LIST_SUGGEST_SUCCESS = 4;
    public final static int LOOK_AROUND_SUCCESS = 5;
    public final static int LOOK_AROUND_FAIL = 6;
    public final static int CHECK_CONTACT_SUCCESS = 7;
    public final static int CHECK_CONTACT_FAIL = 8;
    public final static int GET_SHAKE_SUCCESS = 9;
    public final static int GET_SHAKE_FAIL = 10;
    public final static int GIFT_ADD_SUCCESS = 11;
    public final static int GIFT_ADD_FAIL = 12;

    public static String getCommandName(int command) {
        switch (command) {
            case UPDATE_LOCATION_SUCCESS:
                return "UPDATE_LOCATION_SUCCESS";
            case UPDATE_LOCATION_FAIL:
                return "UPDATE_LOCATION_FAIL";
            case FB_LIST_SUGGEST_FAIL:
                return "FB_LIST_SUGGEST_FAIL";
            case FB_LIST_SUGGEST_SUCCESS:
                return "FB_LIST_SUGGEST_SUCCESS";
            case LOOK_AROUND_SUCCESS:
                return "LOOK_AROUND_SUCCESS";
            case LOOK_AROUND_FAIL:
                return "LOOK_AROUND_FAIL";
            case CHECK_CONTACT_SUCCESS:
                return "CHECK_CONTACT_SUCCESS";
            case CHECK_CONTACT_FAIL:
                return "CHECK_CONTACT_FAIL";
            case GET_SHAKE_SUCCESS:
                return "GET_SHAKE_SUCCESS";
            case GET_SHAKE_FAIL:
                return "GET_SHAKE_FAIL";
            case GIFT_ADD_SUCCESS:
                return "GIFT_ADD_SUCCESS";
            case GIFT_ADD_FAIL:
                return "GIFT_ADD_FAIL";
            default:
                return "";
        }
    }
}
